@media screen and (min-width: 768px) {
    * {
        margin: 0;
        padding: 0;
    }
    a {
        text-decoration: none;
        color: #0283f7;
    }
    ul {
        list-style: none;
    }
    button {
        min-width: 4.13rem;
        height: 30px;
        border-radius: 5px;
        padding: 6px 14px;
        line-height: 1em;
        background-color: #008738;
        color: #fff;
        border: none;
        outline: none;
        text-align: center;
        font-size: 1em;
    }
    input {
        width: 10em;
        height: 1.75rem;
        line-height: 1.75rem;
        border-radius: 0.4em;
        -webkit-border-radius: 0.4em;
        border: none;
        outline: none;
        border: 1px solid #C2CAD8;
        padding-left: 0.6em;
    }
    html {
        background-color: #F3F3F3;
    }
    body {
        height: 100vh;
        display: flex;
        flex-direction: column;
    }
    header {
        height: 46px;
        line-height: 46px;
        box-shadow: 0rem 0rem 1rem 0rem rgb(0 0 0/ 5%);
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        border-bottom: 1px solid #d6d6d6;
        font-size: 14px;
        padding: 0 1rem;
        display: flex;
        align-items: center;
    }
    header img {
        width: 20px;
    }
    header label {
        transform: translateY(2px);
        margin-left: .3rem;
    }
    main {
        height: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    article {
        padding: 1rem 1rem 0;
        height: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    content {
        height: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: auto;
    }
    footer {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        margin-top: 0.5rem;
        border-radius: 0.24rem;
        height: 2.94rem;
        display: flex;
        align-items: center;
        padding: 0 1.25rem;
        font-size: 14px;
        background: #ffffff;
        z-index: 101;
        border-top: 1px solid #eeeeee;
    }
    footer>a {
        min-width: 3rem;
        height: 1.88rem;
        line-height: 1.88rem;
        text-align: center;
        color: black;
        margin-right: 0.94rem;
        margin-left: 0;
        background-color: #d9efff;
        border-radius: 0.12rem;
        display: inline-block;
        padding: 0 0.8em;
        border: none;
        outline: none;
        vertical-align: middle;
    }
    form {
        background-color: #fff;
        display: flex;
        align-items: flex-start;
        padding: 0.5rem 1.25rem 0 1.25rem;
        border-radius: 0.35em;
    }
    .appendPanel, .modifyPanel {
        padding: 0 1.25rem;
    }
    form>ul {
        min-height: 30px;
        flex: 1;
        display: flex;
        flex-wrap: wrap;
        min-width: auto;
        padding: 0;
        float: left;
        width: 94%;
    }
    form>div {
        position: relative;
        top: auto;
        right: auto;
        padding-right: 1rem;
        padding-bottom: 8px;
        clear: both;
    }
    .modifyPanel>div, .appendPanel>div {
        margin-top: 1rem;
    }
    form>ul>li {
        min-width: 25%;
        display: flex;
        align-items: flex-start;
        padding-bottom: 0.5rem;
        width: 33.3%;
    }
    .modifyPanel>ul>li, .appendPanel>ul>li {
        padding: 1rem 0;
    }
    form>ul>li>label {
        display: inline-block;
        min-width: 5em;
        max-width: 7em;
        text-align: left;
        line-height: 1.2;
        padding-top: 0.25rem;
        color: #333;
    }
    form>ul>li>input {
        min-width: 11.63rem;
        height: 1.68rem;
        border-radius: 6px;
        font-size: 14px;
        border: 1px solid #cccccc;
        background-color: #fff;
        width: 50%;
    }
    form>ul>li>input[type="checkbox"] {
        margin-top: 0.4rem;
        display: inline-block;
        vertical-align: middle;
        height: 0.88rem;
        min-width: auto;
        width: auto;
    }
    form>ul>li>select {
        min-width: 11.63rem;
        height: 1.68rem;
        border-radius: 6px;
        font-size: 14px;
        border: 1px solid #cccccc;
        background-color: #fff;
        width: 50%;
        line-height: 1.75rem;
        padding-left: 0.6em;
    }
    .grid {
        background-color: #fff;
        display: flex;
        align-items: flex-start;
        left: 0;
        position: sticky;
        line-height: 1.68rem;
        border-radius: 0.35em;
        flex-direction: column;
        margin-top: 0.5rem;
        height: 0;
        flex: 1;
        text-align: center;
    }
    .grid>table {
        border-width: 1px;
        border-collapse: collapse;
        word-break: break-word;
        width: 100%;
        border-image: none;
        border: 1px solid #eeeeee;
        border-spacing: 0;
    }
    table tr {
        width: 100%;
    }
    .grid td {
        position: relative;
        z-index: 5;
        line-height: 1.6em;
        padding: 0 4px;
        border-bottom: 1px solid #eeeeee;
        cursor: pointer;
    }
    .grid th {
        z-index: 101;
        font-weight: normal;
        line-height: 1.2em;
        position: sticky;
        top: -1px;
        box-sizing: content-box;
        padding: 4px;
    }
    .grid tr>th {
        background-color: #F5F7F9;
    }
    .grid tr>td, .grid tr>th {
        height: 1.75em;
        padding: 0 4px;
    }
    .grid tr>th:before {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        bottom: -1px;
        height: 1px;
        background-color: #C3CBDD;
        z-index: 10;
    }
    .grid tr>th:not(tr>th:last-child):after {
        content: "";
        position: absolute;
        right: 0;
        width: 1px;
        top: 0;
        bottom: 0;
        background-color: #fafafa;
        z-index: 10;
    }
    .grid tr>td:before {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        bottom: -1px;
        height: 1px;
        background-color: #eeeeee;
        z-index: 10;
    }
    .grid tr>td:not(tr>td:last-child):after {
        content: "";
        position: absolute;
        right: 0;
        width: 1px;
        top: 0;
        bottom: 0;
        background-color: #eeeeee;
        z-index: 10;
    }
    .grid tr>th:not(tr>th:last-child):after, .grid tr>td:before, .grid tr>td:not(tr>td:last-child):after {
        background-color: #C3CBDD;
    }
    .grid tr:not(:first-child) td {
        background-color: #ffffff;
    }
    .grid tr>td:first-child {
        background-color: #F5F7F9;
    }
    .grid tr:hover td {
        background-color: #d7ffef !important;
    }
    .frontPanel {
        margin-bottom: 1rem;
        line-height: 1;
        background: #FFF;
        padding: 0.5rem;
        border-radius: 4px;
    }
    .frontPanel>a {
        position: relative;
        padding-left: 1rem;
        color: #0283f7;
        cursor: pointer;
    }
    .frontPanel>a::after {
        content: '';
        position: absolute;
        background: url("../images/goBack.png") center no-repeat;
        background-size: 100% 100%;
        width: 16px;
        height: 16px;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    .notice {
        margin-top: .5rem;
    }
    .notice>.info {
        display: flex;
        align-items: center;
    }
    .panelTitle {
        line-height: 1;
        margin-bottom: 0.5rem;
        margin-left: 5px;
    }
    .welcome {
        background: #FFF;
        padding: 0 1rem;
        border-radius: 4px;
    }
    .welcome .oneDiv {
        display: flex;
    }
    .welcome .oneDiv a {
        margin: 0 2rem 1rem 0;
    }
    .welcome a, .welcome p, .welcome span {
        margin: 1rem 0;
        display: block;
    }
    .flexDiv {
        display: flex;
    }
    .flexDiv a {
        margin-right: 2rem;
    }
}

@media screen and (max-width: 767px) {
    * {
        margin: 0;
        padding: 0;
    }
    a {
        text-decoration: none;
        color: #0283f7;
    }
    ul {
        list-style: none;
    }
    button {
        min-width: 4.13rem;
        height: 30px;
        border-radius: 5px;
        padding: 6px 14px;
        line-height: 1em;
        background-color: #008738;
        color: #fff;
        border: none;
        outline: none;
        text-align: center;
        font-size: 1em;
    }
    input {
        width: 10em;
        height: 1.75rem;
        line-height: 1.75rem;
        border-radius: 0.4em;
        -webkit-border-radius: 0.4em;
        border: none;
        outline: none;
        border: 1px solid #C2CAD8;
        padding-left: 0.6em;
    }
    html {
        background-color: #F3F3F3;
    }
    body {
        height: 100vh;
        display: flex;
        flex-direction: column;
    }
    header {
        height: 46px;
        line-height: 46px;
        box-shadow: 0rem 0rem 1rem 0rem rgb(0 0 0/ 5%);
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        border-bottom: 1px solid #d6d6d6;
        font-size: 14px;
        padding: 0 1rem;
        display: flex;
        align-items: center;
    }
    header img {
        width: 20px;
    }
    header label {
        transform: translateY(2px);
        margin-left: .3rem;
    }
    main {
        height: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    article {
        padding: .5rem .5rem 0;
        height: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: auto;
    }
    content {
        height: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    footer {
        position: relative;
        margin-top: 0.5rem;
        border-radius: 0.24rem;
        height: 2.94rem;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 1.25rem;
        font-size: 14px;
        background: #ffffff;
        z-index: 101;
        border-top: 1px solid #eeeeee;
    }
    footer>a {
        min-width: 3rem;
        height: 1.88rem;
        line-height: 1.88rem;
        text-align: center;
        color: black;
        margin-right: 0.94rem;
        margin-left: 0;
        background-color: #d9efff;
        border-radius: 0.12rem;
        display: inline-block;
        padding: 0 0.8em;
        border: none;
        outline: none;
        vertical-align: middle;
    }
    form {
        background-color: #fff;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: center;
        padding: 1rem 1.25rem;
        border-radius: 0.35em;
    }
    form>ul {
        min-height: 30px;
        flex: 1;
        display: flex;
        flex-wrap: wrap;
        min-width: auto;
        padding: 0;
        float: left;
        width: 100%;
    }
    form>div {
        position: relative;
        top: auto;
        right: auto;
        padding-right: 1rem;
        padding-bottom: 8px;
        clear: both;
    }
    form>ul>li {
        display: flex;
        align-items: flex-start;
        padding-bottom: 0.5rem;
        width: 100%;
    }
    form>ul>li>label {
        display: inline-block;
        min-width: 5em;
        max-width: 7em;
        text-align: left;
        line-height: 1.2;
        padding-top: 0.25rem;
        color: #333;
    }
    form>ul>li>input {
        height: 1.68rem;
        border-radius: 4px;
        font-size: 14px;
        border: 1px solid #cccccc;
        background-color: #fff;
        flex: 1;
    }
    form>ul>li>input[type="checkbox"] {
        margin-top: 0.4rem;
        display: inline-block;
        vertical-align: middle;
        height: 0.88rem;
        min-width: auto;
        width: auto;
        flex: none;
    }
    form>ul>li>select {
        min-width: 11.63rem;
        height: 1.68rem;
        border-radius: 6px;
        font-size: 14px;
        border: 1px solid #cccccc;
        background-color: #fff;
        width: 50%;
        line-height: 1.75rem;
        padding-left: 0.6em;
        flex: 1;
    }
    .grid {
        background-color: #fff;
        margin-top: 0.5rem;
        padding: 1rem;
        font-size: 14px;
    }
    .record {
        padding: 1rem 0;
        border-top: 1px solid #e6e6e6;
    }
    .record:first-child {
        padding-top: 0;
        border-top: none;
    }
    .record:last-child {
        padding-bottom: 0;
    }
    .record>ul>li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: .5rem;
    }
    .record>ul>li:first-child {
        margin-top: 0;
    }
    .record>ul>li:last-child>span:last-child {
        text-align: right;
        margin-right: 1rem;
    }
    .frontPanel {
        margin-bottom: .5rem;
        line-height: 1;
        background: #FFF;
        padding: 0.5rem;
        border-radius: 4px;
    }
    .frontPanel>a {
        position: relative;
        padding-left: 1rem;
        color: #0283f7;
        cursor: pointer;
    }
    .frontPanel>a::after {
        content: '';
        position: absolute;
        background: url("../images/goBack.png") center no-repeat;
        background-size: 100% 100%;
        width: 16px;
        height: 16px;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    .notice {
        margin-top: .5rem;
    }
    .notice>.info {
        display: flex;
        align-items: center;
    }
    .panelTitle {
        line-height: 1;
        margin-bottom: 0.5rem;
        margin-left: 5px;
    }
    .welcome {
        background: #FFF;
        padding: 0 1rem;
        border-radius: 4px;
    }
    .welcome .oneDiv {
        display: flex;
    }
    .welcome .oneDiv a {
        margin: 0 2rem 1rem 0;
    }
    .welcome a, .welcome p, .welcome span {
        margin: 1rem 0;
        display: block;
    }
    .flexDiv {
        display: flex;
    }
    .flexDiv a {
        margin-right: 2rem;
    }
}